class node:

    def __init__(self,data):
        self.data=data
        self.left=None
        self.right=None
    def setdata(self,data):
        self.data=data